package com.ruoyi.chatroom.domain.vo;

import com.ruoyi.common.annotation.Excel;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 聊天记录视图对象 chat_record
 *
 * @author zhutianyu
 * @date 2021-09-03
 */
@Data
@ApiModel("聊天记录视图对象")
public class ChatRecordVo {

	private static final long serialVersionUID = 1L;

	/**
     *  ID
     */
	@ApiModelProperty("ID")
	private String id;

    /**
     * 发送人
     */
	@Excel(name = "发送人")
	@ApiModelProperty("发送人")
	private String sendUser;

    /**
     * 接收人
     */
	@Excel(name = "接收人")
	@ApiModelProperty("接收人")
	private String receiveUser;

    /**
     * 内容
     */
	@Excel(name = "内容")
	@ApiModelProperty("内容")
	private String content;

    /**
     * 发送时间
     */
	@Excel(name = "发送时间" , width = 30, dateFormat = "yyyy-MM-dd")
	@ApiModelProperty("发送时间")
	private Date sendTime;


}
